package com.liyan.giteewarehouse
data class Test(var name: String, var age: Int) {
    var sex = ""

    init {
        println("主构造")

    }

    constructor(name: String, sex: Char) : this(name, 100) {
        print("次构造")
        var sex = sex
    }

//    override fun toString(): String {
//        return "name：$name,age:$age,sex:$sex"
//    }

}

fun main() {

}